package by.grsu.bso.model;

public class Product {
	private Integer id;
	private int category;
	private String imageBase64;
	private String name;
	private String autor;
	private int price;
	private boolean isAvailable;
	private String discription;
	private Integer yearPublication;
	private Integer quantityPages;

	public Product(Integer id, int category, String imageBase64, String name,
			String autor, int price, boolean isAvailable,
			String discription, Integer yearPublication, Integer quantityPages) {
		this.id = id;
		this.category = category;
		this.imageBase64 = imageBase64;
		this.name = name;
		this.autor = autor;
		this.price = price;
		this.isAvailable = isAvailable;
		this.discription = discription;
		this.yearPublication = yearPublication;
		this.quantityPages = quantityPages;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public int getCategory() {
		return category;
	}

	public void setCategory(int category) {
		this.category = category;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAutor() {
		return autor;
	}

	public void setAutor(String autor) {
		this.autor = autor;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public boolean getIsAvailable() {
		return isAvailable;
	}

	public void setIsAvailable(boolean isAvailable) {
		this.isAvailable = isAvailable;
	}

	public String getDiscription() {
		return discription;
	}

	public void setDiscription(String discription) {
		this.discription = discription;
	}

	public String getImageBase64() {
		return imageBase64;
	}

	public void setImageBase64(String imageBase64) {
		this.imageBase64 = imageBase64;
	}

	public Integer getYearPublication() {
		return yearPublication;
	}

	public void setYearPublication(Integer yearPublication) {
		this.yearPublication = yearPublication;
	}

	public Integer getQuantityPages() {
		return quantityPages;
	}

	public void setQuantityPages(Integer quantityPages) {
		this.quantityPages = quantityPages;
	}

}
